package com.ruoyi.yipaiju.service;

import java.util.List;
import com.ruoyi.yipaiju.domain.StorageRelationship;

/**
 * fo_storage_relationshipService接口
 * 
 * @author liuwp
 * @date 2023-03-01
 */
public interface IStorageRelationshipService 
{
    /**
     * 查询fo_storage_relationship
     * 
     * @param id fo_storage_relationship主键
     * @return fo_storage_relationship
     */
    public StorageRelationship selectStorageRelationshipById(Long id);

    /**
     * 查询fo_storage_relationship列表
     * 
     * @param storageRelationship fo_storage_relationship
     * @return fo_storage_relationship集合
     */
    public List<StorageRelationship> selectStorageRelationshipList(StorageRelationship storageRelationship);

    /**
     * 根据业务主键查询一条记录：fo_storage_relationship
     *
     * @param storageRelationship fo_storage_relationship
     * @return fo_storage_relationship
     */
    public StorageRelationship selectOneStorageRelationship(StorageRelationship storageRelationship);

    /**
     * 新增fo_storage_relationship
     * 
     * @param storageRelationship fo_storage_relationship
     * @return 结果
     */
    public int insertStorageRelationship(StorageRelationship storageRelationship);

    /**
     * 修改fo_storage_relationship
     * 
     * @param storageRelationship fo_storage_relationship
     * @return 结果
     */
    public int updateStorageRelationship(StorageRelationship storageRelationship);

    /**
     * 修改fo_storage_relationship
     *
     * @param storageRelationship fo_storage_relationship
     * @param storageRelationship fo_storage_relationship条件
     * @return 结果
     */
    public int updateStorageRelationshipCondition(StorageRelationship storageRelationship, StorageRelationship storageRelationshipCondition);

    /**
     * 批量删除fo_storage_relationship
     * 
     * @param ids 需要删除的fo_storage_relationship主键集合
     * @return 结果
     */
    public int deleteStorageRelationshipByIds(Long[] ids);

    /**
     * 删除fo_storage_relationship信息
     * 
     * @param id fo_storage_relationship主键
     * @return 结果
     */
    public int deleteStorageRelationshipById(Long id);

    /**
     * 条件删除fo_storage_relationship
     *
     * @param storageRelationship fo_storage_relationship
     * @return 结果
     */
    public int deleteStorageRelationshipByCondition(StorageRelationship storageRelationship);

    public int insertStorageRelationshipList(List<StorageRelationship> storageRelationships);
}
